package UserUnit;

import java.util.List;

public class ImpVideo implements Video {

    String idFile, name, extension, comment, url;
    int day, month, year, hours, minutes, width, high;
    double size;

    public void setFile(String idFile, String name, String extension) {
        this.idFile = idFile;
        this.name = name;
        this.extension = extension;
    }

    public void setUpdateDate(int day, int month, int year) {
        this.day = day;
        this.month = month;
        this.year = year;

    }

    public void setHour(int hours, int minutes) {
        this.hours = hours;
        this.minutes = minutes;

    }

    public void setDimension(int width, int high) {
        this.width = width;
        this.high = high;

    }

    public void setSize(double size) {
        this.size = size;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFile() {
        return idFile + " " + name + " " + extension;
    }

    public String getIdFile() {
        return idFile;
    }

    public String getFileName() {
        return name;
    }

    public String getFileExtension() {
        return extension;
    }

    public String getUpdateDate() {
        return day + "/" + month + "/" + year;
    }

    public int getDay() {
        return day;
    }

    public int getMonth() {
        return month;
    }

    public int getYear() {
        return year;
    }

    public String getHour() {
        return hours + ":" + minutes;
    }

    public int getHours() {
        return hours;
    }

    public int getMinutes() {
        return minutes;
    }

    public String getDimensions() {
        return width + " X " + high;
    }

    public int getWidth() {
        return width;
    }

    public int getHigh() {
        return high;
    }

    public double getSize() {
        return size;

    }

    public String getComment() {
        return comment;
    }

    public String getUrl() {
        return url;
    }
}
